html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.container {
  min-height: 100vh;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main {
  padding: 2rem 0 5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

.footer {
  width: 100%;
  height: 2rem;
  border-top: 1px solid #eaeaea;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer div {
  margin: 0.5rem 0.5rem;
}

.footer img {
  margin-left: 0.5rem;
}

.footer a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title a {
  color: #000000;
  text-decoration: none;
}

.title {
  margin: 0;
  line-height: 1.15;
  font-size: 1.5rem;
}

.title,
.description {
  text-align: center;
}

.description {
  font-size: 0.8rem;
}

.updatetime {
  margin: 0.3rem;
  font-size: 0.8rem;
  color: #acacac;
}

.code {
  background: #fafafa;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  min-width: 800px;
  margin-top: 1rem;
}

@media (max-width: 800px) {
  .grid {
    min-width: 0;
  }
}

.card,
.membercard {
  margin: 0.2rem;
  flex-basis: 100%;
  padding: 0.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

article {
  text-align: left;
}
article a {
  color: #250feb;
}

.membercard {
  line-height: 2.6rem;
}

.card:hover,
.card:focus,
.card:active,
.membercard:hover,
.membercard:focus,
.membercard:active {
  /* color: #0070f3;
  border-color: #0070f3; */
  background-color: aliceblue;
}

.card .cardtitle {
  margin: 0 0 0 0;
  font-size: 1.2rem;
  font-weight: normal;
}

.card .cardindex {
  margin: 0 0 0 0;
  font-size: 1.2rem;
  font-weight: normal;
}
.card .carddetail {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5rem;
  color: #acacac;
}
.card .cardate {
  padding-right: 2rem;
}

.card .cardhome {
  color: inherit;
  text-decoration: none;
}
.card .cardhome :hover {
  opacity: 0.6;
}

.logo {
  height: 1em;
}

.menu {
  width: 100%;
  text-align: center;
}

.onlylink {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.onlylink:hover,
.onlylink:focus,
.onlylink:active {
  text-decoration: none;
}

.normalink {
  color: #000000;
}

.normalink:hover {
  color: #0070f3;
  cursor: pointer;
}

.fixedbox {
  position: fixed;
  bottom: 10rem;
  right: 25%;
  z-index: 9;
}

@media (max-width: 1600px) {
  .fixedbox {
    right: 20%;
  }
}

@media (max-width: 1400px) {
  .fixedbox {
    right: 12%;
  }
}

@media (max-width: 1060px) {
  .fixedbox {
    right: 4rem;
  }
}

.fixedbox .actiongithub {
  background-repeat: no-repeat;
  background-position: 50%;
  background-image: url();
  background-size: 60% auto;
}
.fixedbox .actiontop {
  background-repeat: no-repeat;
  background-position: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 10.828l-4.95 4.95-1.414-1.414L12 8l6.364 6.364-1.414 1.414z'/%3E%3C/svg%3E");
  background-size: 60% auto;
}
.fixedbox .actionbottom {
  background-repeat: no-repeat;
  background-position: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z'/%3E%3C/svg%3E");
  background-size: 60% auto;
}

.fixedbox .actiongithub,
.fixedbox .actiontop,
.fixedbox .actionbottom {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  display: block;
  cursor: pointer;
  margin-top: 0.75rem;
  border-radius: 0.125rem;
  overflow: hidden;
  position: relative;
  left: 3.125rem;
  /* background-color: #f8f8f8; */
}

.grid .date {
  display: block;
  width: 100%;
  font-size: 1rem;
  text-align: center;
}
.grid .date .year {
  margin: 0 1rem;
}
.grid .date .month {
  margin: 0 0.5rem;
}

.grid .date a {
  color: rgb(47, 63, 206);
}

.grid .date a.disable {
  pointer-events: none;
  color: #cecece;
}

ul.pagination {
  padding-inline-start: 0px;
}
.pagination li {
  display: inline;
  margin: 3rem auto;
}
.pagination li a {
  color: #7a4ba2;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}
.pagination li a.active {
  background-color: aliceblue;
  color: #acacac;
  border-radius: 5px;
}
.pagination li a:hover:not(.active) {
  background-color: #cecece;
  color: #acacac;
}
@media (max-width: 520px) {
  .pagination li a {
    padding: 0.2rem 0.2rem;
  }
}

.todaynew::before {
  content: "NEW!";
  color: red;
  margin-top: 0.5rem;
  transform: rotate(30deg);
  float: right;
  z-index: 999;
}

article img{
  display: none;
}